package com.taozi.netty.socketio.use.classroomchat.service.education;

import com.github.pagehelper.Page;
import com.taozi.netty.socketio.use.classroomchat.entity.entity.education.Classroom;
import com.taozi.netty.socketio.use.classroomchat.entity.vo.education.ClassroomBean;
import com.taozi.netty.socketio.use.classroomchat.entity.vo.education.ClassroomVo;

import java.util.List;

/**
 * description 课堂信息
 *
 * @author mingtao
 */
public interface IClassroomService {

    /**
    * @description 根据课堂id删除课堂 - 批量删除
    * @param idList
    * @return int
    * @author mingtao
    **/
    int delete(List<Integer> idList);

    /**
    * @description 添加课堂
    * @param classroomVo
    * @return Classroom
    * @author mingtao
    **/
    Classroom insert(ClassroomVo classroomVo);

    /** 
    * @description 分页查询
    * @param classroomVo
    * @return com.github.pagehelper.Page<ClassroomBean>
    * @author mingtao
    **/
    Page<ClassroomBean> pageFindList(ClassroomVo classroomVo);

    /**
    * @description 根据课堂id更新课堂
    * @param classroomVo
    * @return int
    * @author mingtao
    **/
    int update(ClassroomVo classroomVo);


}
